<?php
App::uses('AppModel', 'Model');
/**
 * Estado Model
 *
 * @property Pais $Pais
 */
class Estado extends AppModel {

	public $displayField = 'uf';

//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * belongsTo associations
 *
 * @var array
 
	public $belongsTo = array(
		'Pais' => array(
			'className' => 'Pais',
			'foreignKey' => 'pais_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
*/
/**
 * hasMany associations
 *
 * @var array
 */
	public $hasMany = array(
			'Cidade' => array(
					'className' => 'Cidade',
					'foreignKey' => 'estado_id',
					'dependent' => false,
					'conditions' => '',
					'fields' => '',
					'order' => '',
					'limit' => '',
					'offset' => '',
					'exclusive' => '',
					'finderQuery' => '',
					'counterQuery' => ''
			)
	);
}
